Builder
└─Sqlsrv
public class Sqlsrv
extends Builder
Method Summary | |
---|---|
protected string | parseOrder(mixed order, array options) order分析 |
protected string | 随机排序 |
protected string | parseKey(string key, array options) 字段和表名处理 |
protected string | parseLimit(mixed limit, mixed lmit) limit |
string | selectInsert(array fields, string table, array options) 生成slectinsert SQL |
Methods inherited from think\db\Builder | |
---|---|
__construct, buildWhere, delete, insert, insertAll, parseClosure, parseComment, parseData, parseDateTime, parseDistinct, parseField, parseForce, parseGroup, parseHaving, parseJoin, parseKey, parseLimit, parseLock, parseOrder, parseSqlTable, parseTable, parseUnion, parseValue, parseWhere, parseWhereItem, select, selectInsert, setQuery, update |
protected string parseOrder(mixed order, array options)
order分析
protected string parseRand()
随机排序
protected string parseKey(string key, array options)
字段和表名处理
protected string parseLimit(mixed limit, mixed lmit)
limit
public string selectInsert(array fields, string table, array options)
生成slectinsert SQL
Sqlsrv数据库驱动